OrientationGrid
|
By: Paul S Cilwa |
Posted: 3/24/2026 |
Unpublished |
|
| Hashtags: #Organizica #VisualBasic #VBNET #ClassLibrary #OrganizicaLib #CustomControls #WinForms #UserControl #OrientationGrid #Orientation #Alignment |
| A compact 3x3 grid of buttons for selecting a position or alignment—useful for crop alignment, watermark placement, and similar orientation pickers. |
| Estimated reading time: 2 minute(s) (385 words) |
OrientationGrid is a tiny UserControl that arranges nine flat buttons
in a 3×3 grid, each representing a position: TopLeft, TopCenter, TopRight, MiddleLeft,
Center, MiddleRight, BottomLeft, BottomCenter, and BottomRight. Click a button and the control
highlights it using ForeColor, sets the Orientation property, and
raises OrientationChanged. It is ideal for crop-alignment pickers, watermark
placement selectors, and any UI that needs a quick spatial position choice.